﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="Edit.aspx.cs" Inherits="Cn.Cellula.Website.Admin.User.Edit" Title="编辑用户信息" %>
<%@ Register src="../../Wuc/WUC_UserEditMenu.ascx" tagname="WUC_UserEditMenu" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="Stylesheet" href="/Cellula_Client/controls/JskitControls.css" />
    <script type="text/javascript" src="/jskit.org/model/controls/JskitRichDropDownList.js"></script>
    <script type="text/javascript">
        var deptDept = new JskitRichDropDownList("deptDept");
        deptDept.setEmptySelectText("-无-");
        function PageOnLoad() {
            deptDept.deploy(fixId("txt_Dept"), fixId("hid_Dept"), "Ws/_Dept.aspx");
        }
    </script></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH_PageTitle" runat="server">
    创建用户
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPH_MainBody" runat="server">
   <uc1:WUC_UserEditMenu ID="WUC_UserEditMenu1" runat="server" />
    <div class="action_bar">
        <asp:Button ID="btn_save" runat="server" Text="保存" OnClick="btn_save_Click" />
        <input type="reset" value="重置" />
        <input type="button" onclick="jskitBulter.redirect('Admin/Permission/User/List.aspx')" value="取消" />
    </div>
    <fieldset>
        <legend>用户信息</legend>
        <table border="0" cellpadding="0" cellspacing="0" class="edit_form">
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">用户ID：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:Label runat="server" ID="txt_ID"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">激活码：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:Label runat="server" ID="txt_ActivateCode"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">用户编号：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_UserNo"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">状态：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:DropDownList runat="server" ID="ddl_Activate">
                        <asp:ListItem Value="0">未激活/未审核</asp:ListItem>
                        <asp:ListItem Value="1">已激活/已审核</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">帐号：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_LoginName"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">角色：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:DropDownList runat="server" ID="ddl_Role">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">昵称：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_UserName"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">Email：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_Email" Width="300px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">性别：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:DropDownList runat="server" ID="ddl_Gender">
                        <asp:ListItem Value="1">男</asp:ListItem>
                        <asp:ListItem Value="0">女</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">出生日期：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_Birthday" onclick="jskitDateSelector.open(this,event)"></asp:TextBox>
                </td>
            </tr>
             <tr>
                <td class="edit_form_item_title">
                    部门：
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_Dept"></asp:TextBox>
                    <asp:HiddenField runat="server" ID="hid_Dept" />
                </td>
            </tr>       </table>
    </fieldset>
</asp:Content>
